BitApps\Social\Core\Database\Model B

Total Complexity 77
Dependencies 5
Dependents 2
Total lines 410
Lines of code 253
Logical lines of code 113
Comment lines 15
Methods 42
Properties 14

Methods 42

Method Rating Maintainability Complexity Lines of code
__construct()
S
52 5 25
fill()
S
66 6 7
setAttribute()
S
62 5 12
getInstanceFromBuilder()
S
54 4 23
getAttribute()
S
57 4 17
castTo()
S
63 5 10
refresh()
S
62 3 12
getFillable()
S
61 2 13
castToArray()
S
71 2 6
castToObject()
S
71 2 6
getInstance()
S
71 2 6
jsonSerialize()
S
72 2 6
getQueryBuilder()
S
78 2 3
processRelatedAttribute()
S
65 2 9
__call()
S
69 2 6
__get()
S
71 2 6
exists()
S
72 2 6
getPrimaryKey()
S
82 1 3
offsetExists()
S
79 1 3
castToDate()
S
79 1 3
castToString()
S
81 1 3
castToInt()
S
81 1 3
__set()
S
80 1 3
__unset()
S
81 1 3
__callStatic()
S
78 1 3
offsetUnset()
S
81 1 3
offsetSet()
S
80 1 3
offsetGet()
S
80 1 3
newQuery()
S
80 1 3
getForeignKey()
S
79 1 3
__clone()
S
69 1 7
getOriginal()
S
82 1 3
getDirtyAttributes()
S
82 1 3
isDirty()
S
79 1 3
setExists()
S
81 1 3
__isset()
S
79 1 3
unsetAttribute()
S
80 1 3
getRelateAs()
S
82 1 3
setRelateAs()
S
77 1 4
getTableWithoutPrefix()
S
82 1 3
getTable()
S
82 1 3
getAttributes()
S
82 1 3